package com.itheima.health.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.health.UserService;
@Service
public class UserServiceImpl implements UserService{
    @Override
    public boolean login(String username, String password) {
        System.out.println("username = " + username);
        if("admin".equals(username)&&"123".equals(password)){
            return true;
        }
        return false;
    }
}
